<template>
      <div id="on">
            <p>{{message}}</p>
            <h1>11</h1>
    </div>
</template>

<script>
import Bus from '../js/bus.js'
export default {
    data() {
      return {
        message:  '',
        tits:'',
        price:'',
        sid:''
      }
    },
    mounted() {
　　　　let self = this
       Bus.$on('msg', (e) => {
         self.message = e
　　　　　console.log(`传来的数据是：${e}`)
       })
     },
     created() {
      //  this.feiypng();
       this.tits = this.$router.query.tit;    
       this.sid = this.$route.query.sid
      //  this.price = this.$route.query.price;
     }
   }
</script>

<style>

</style>
